from selenium.webdriver.common.by import By


class UserPageLocator:

    userinfo_link = (By.LINK_TEXT, '个人信息')
    preview_loc = (By.ID, 'preview')
    frame_loc = (By.CSS_SELECTOR, '[id *="layui-layer-iframe"]')
    file_loc = (By.CSS_SELECTOR, '[id="filePicker"]>div+div>input')
    save_loc = (By.CLASS_NAME, 'saveBtn')
    quit_loc = (By.LINK_TEXT, '安全退出')
    save_headpic_loc = (By.CLASS_NAME, 'save')
